﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Domain.Entity;
using MediatR;

namespace IntelligentAgriculture.WebAPI.Application.Command.UserCommand
{
    /// <summary>
    /// 新增人员
    /// </summary>
    public class AddUserCommand : IRequest<Results<int>>
    {
        public AddUserInput User { get; set; }

        public AddUserCommand(AddUserInput user)
        {
            User = user;
        }
    }
}
